package com.aspose.cells;

class zum {
   int a;
   Object b;

   int a() {
      if (this.b == null) {
         return 3;
      } else if (this.b instanceof zst) {
         return 2;
      } else {
         switch(zamo.a(this.b.getClass())) {
         case 3:
            return 0;
         case 9:
         case 14:
            return 4;
         case 18:
            if (zsk.c((String)this.b)) {
               return 2;
            }

            return 5;
         default:
            return 5;
         }
      }
   }

   int b() {
      if (this.b == null) {
         return 0;
      } else if (this.b instanceof zst) {
         return 3;
      } else {
         switch(zamo.a(this.b.getClass())) {
         case 3:
            return 4;
         case 14:
            return 1;
         case 18:
            if (zsk.c((String)this.b)) {
               return 3;
            }

            return 2;
         default:
            return 2;
         }
      }
   }

   zum(int var1, Object var2) {
      this.a = var1;
      this.b = var2;
   }

   double c() {
      return (Double)this.b;
   }

   zst d() {
      if (this.b instanceof String) {
         boolean var1 = false;
         boolean[] var2 = new boolean[]{var1};
         zst var3 = zsk.a((String)this.b, var2);
         var1 = var2[0];
         return var3;
      } else {
         return (zst)this.b;
      }
   }

   boolean e() {
      return (Boolean)this.b;
   }
}
